﻿<UserControl x:Class="WGM_Client_Net35V2.Controls.Place"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Width="350" Margin="5">
    
    <Border CornerRadius="5" BorderBrush="DarkSlateGray" BorderThickness="0.5" >
        <Border.Background>
            <LinearGradientBrush StartPoint="0.9,0.1" EndPoint="1,0">
                <GradientStop Color="White" Offset="0.6"/>
                <GradientStop Color="Lime" Offset="0.91" x:Name="_placeColour"/>
            </LinearGradientBrush>
        </Border.Background>
        <Border.Effect>
            <DropShadowEffect/>           
        </Border.Effect>
        <StackPanel>
            <TextBlock Name="_placeNameTB" FontFamily="Verdana" FontSize="25" Text="Atlantis" Foreground="DarkSlateGray"   Margin="5,0,0,0"/>
            <TextBlock Name="_placeHeadlineTB" FontFamily="Verdana" FontSize="15" Text="For atlantis and ex-atlantis employees..." Foreground="Gray"   Margin="15,0,0,0"/>
            <Rectangle Height="2" HorizontalAlignment="Stretch" Grid.Row="1">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="Black" Offset="0.5"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <StackPanel Orientation="Horizontal">
                <TextBlock FontFamily="Verdana" FontSize="10" Text="Created by" Foreground="LightGray"   Margin="20,0,0,0"/>
                <TextBlock Name="_placeCreatorTB" FontFamily="Verdana" FontSize="10" Text="wayne" Foreground="Gray"   Margin="5,0,0,0"/>
                <TextBlock FontFamily="Verdana" FontSize="10" Text="|" Foreground="LightGray"   Margin="5,0,0,0"/>
                <TextBlock Name="_placeOnlineMembersTB" FontFamily="Verdana" FontSize="10" Text="0" Foreground="Gray"   Margin="5,0,0,0"/>
                <TextBlock FontFamily="Verdana" FontSize="10" Text="/" Foreground="LightGray"   Margin="0,0,0,0"/>
                <TextBlock Name="_placeTotalMembersTB" FontFamily="Verdana" FontSize="10" Text="0" Foreground="Gray"   Margin="0,0,0,0"/>
                <TextBlock FontFamily="Verdana" FontSize="10" Text="members online" Foreground="LightGray"   Margin="5,0,0,0"/>
            </StackPanel>
            <Rectangle Height="2" HorizontalAlignment="Stretch" Grid.Row="1">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="Black" Offset="0.5"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                <StackPanel Name="_placeLoginPanel" Orientation="Horizontal">
                    <TextBlock FontFamily="Verdana" FontSize="10" Text="Enter Password:" Foreground="Gray"   Margin="5" HorizontalAlignment="Right" Cursor="Hand"/>
                    <PasswordBox FontFamily="Verdana" Name="_placePasswordTB" FontSize="15" Foreground="DarkSlateGray" VerticalAlignment="Center"  BorderThickness="0" Width="150" >
                        <PasswordBox.Background>
                            <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
                                <GradientStop Color="LightGray" Offset="0"/>
                                <GradientStop Color="WhiteSmoke" Offset="0.5"/>
                            </LinearGradientBrush>
                        </PasswordBox.Background>
                    </PasswordBox>
                </StackPanel>
                <TextBlock FontFamily="Verdana" FontSize="10" Text="Enter Place" Foreground="Gray"   Margin="5" HorizontalAlignment="Right" Cursor="Hand" MouseLeftButtonDown="OnEnterNetworkClick"/>
            </StackPanel>
        </StackPanel>
    </Border>
</UserControl>
